﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuYiAdmin.Net.UniversalFoundation.Configurations
{
    /// <summary>
    /// OpenIM配置
    /// </summary>
    public class OpenIMConfig
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsOpenIMEnabled { get; set; } = false;

        /// <summary>
        /// OpenIM服务器地址
        /// </summary>
        public string OpenIMServerUrl { get; set; } = string.Empty;

        /// <summary>
        /// 默认用户名
        /// </summary>
        public string Account { get; set; } = string.Empty;

        /// <summary>
        /// 默认密码
        /// </summary>
        public string Password { get; set; } = string.Empty;

        /// <summary>
        /// Redis Key 名称
        /// </summary>
        public string RedisKey { get; set; } = string.Empty;

        /// <summary>
        /// 头部参数0名称
        /// </summary>
        public string Header0 { get; set; } = string.Empty;

        /// <summary>
        /// 头部参数1名称
        /// </summary>
        public string Header1 { get; set; } = string.Empty;

        /// <summary>
        /// 消息中心地址
        /// </summary>
        public string MessageCenterUrl { get; set; } = string.Empty;

        /// <summary>
        /// 管理中心地址
        /// </summary>
        public string ManagementCenterUrl { get; set; } = string.Empty;
    }
}
